package com.thesis.service;

import com.github.pagehelper.Page;
import com.thesis.entity.Food;
import com.thesis.entity.Record;
import org.w3c.dom.stylesheets.LinkStyle;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface RecordService {


    int deleteByPrimaryKey(Long id);

    int insert(Record busiThesisDesign);

    int insertSelective(Record busiThesisDesign);

    Record selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Record busiThesisDesign);


    int updateByPrimaryKey(Record busiThesisDesign);

    List<Record> findPageList(Record busiThesisDesign);

    Page<Record> findPageListByVague(Record queryParam, String vagueParam);

    Integer deleteBatchByIds(List<Integer> idList);

    void saveOrUpdate(Record Record);

    List<Record> findAll();

    List<Record> selectClassListByProId(Long proId);

    List<Map<String, Object>> findAllByTime(String userId);

    List<Food> findList(Record record);

    List<Map<String, Object>> findAllByFood(String userId);
}
